package BookSystem;

import java.util.ArrayList;

public class Demo {
    public static void main(String[] args) {
        Library library = new Library();
        Book book1 = new Book("Java编程思想", "Bruce Eckel");
        Book book2 = new Book("Effective Java", "Joshua Bloch");
        library.addBook(book1);
        library.addBook(book2);

        library.ShowAllBooks();
        System.out.println("-------------------");
        System.out.println(library.FindBookByName("Java编程思想"));
        library.removeBook(book2);
    }
}
